export interface ApiResponseData {
  code: number
  message: string
  data?: any
}

export interface BaseRequestMethod<T = ApiResponseData> {
  getDataList: (params?: any) => Promise<T>
  createData: (data: any) => Promise<T>
  updateData: (id: number, data: any) => Promise<T>
  deleteData: (id: number) => Promise<T>
}
